class Person3<T>{
    name: T
    constructor(name: T) {
        this.name = name
    }
}

const person4 = new Person3<string>("Jack")
console.log(person.name);

